<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_no" class="form-control" name="row[dev_no]" type="text" value="{$row.dev_no|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ctime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ctime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[ctime]" type="text" value="{:$row.ctime?datetime($row.ctime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('District_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-district_name" class="form-control" name="row[district_name]" type="text" value="{$row.district_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('District_detail')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-district_detail" class="form-control" name="row[district_detail]" type="text" value="{$row.district_detail|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('District_position')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-district_position" class="form-control" name="row[district_position]" type="text" value="{$row.district_position|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Utime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-utime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[utime]" type="text" value="{:$row.utime?datetime($row.utime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vender_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vender_id" data-rule="required" data-source="vender/index" class="form-control selectpage" name="row[vender_id]" type="text" value="{$row.vender_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Assign_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-assign_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[assign_time]" type="text" value="{:$row.assign_time?datetime($row.assign_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('District_province')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-district_province" class="form-control" name="row[district_province]" type="text" value="{$row.district_province|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('District_city')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-district_city" class="form-control" data-toggle="city-picker" name="row[district_city]" type="text" value="{$row.district_city|htmlentities}"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('District_district')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-district_district" class="form-control" name="row[district_district]" type="text" value="{$row.district_district|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_type" class="form-control" name="row[dev_type]" type="text" value="{$row.dev_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_name" class="form-control" name="row[wx_name]" type="text" value="{$row.wx_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_appid" class="form-control" name="row[wx_appid]" type="text" value="{$row.wx_appid|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
